package boxe.timer.manager;

public class RunManager {
	
	
	
	public int getComboMin(long duration) {
		int min = 0;
		min = ((int)(duration / 1000)) / 60;
		return min;
	}
	
	public int getComboSec(long duration) {
		int sec = (int) (duration / 1000);
		sec = sec % 60;
		return sec;
	}
	
	public long getDuration(int min, int sec) {
		return (min * 60 + sec) * 1000;
	}
}
